DataCollection | ComponentOne
C1.DataCollection.EntityFrameworkCore Assembly / C1.DataCollection.EntityFrameworkCore Namespace / C1EntityFrameworkCoreVirtualDataCollectionBase<T> Class / RemoveAsyncOverride Method
The index of the removed item.
The cancellation token.

In This Topic
    RemoveAsyncOverride Method (C1EntityFrameworkCoreVirtualDataCollectionBase<T>)
    In This Topic
    This method is called when an item is removed from the collection.
    Syntax
    'Declaration
     
    Protected Overridable Function RemoveAsyncOverride( _
       ByVal index As Integer, _
       ByVal cancellationToken As CancellationToken _
    ) As Task
    protected virtual Task RemoveAsyncOverride( 
       int index,
       CancellationToken cancellationToken
    )

    Parameters

    index
    The index of the removed item.
    cancellationToken
    The cancellation token.
    Remarks
    CanRemove must return true to enable this method.
    See Also